package io.renren.modules.alarmcallrel.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.alarmcallrel.dao.AlarmCallRelDao;
import io.renren.modules.alarmcallrel.entity.AlarmCallRelEntity;
import io.renren.modules.alarmcallrel.service.AlarmCallRelService;


@Service("alarmCallRelService")
public class AlarmCallRelServiceImpl extends ServiceImpl<AlarmCallRelDao, AlarmCallRelEntity> implements AlarmCallRelService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AlarmCallRelEntity> page = this.page(
                new Query<AlarmCallRelEntity>().getPage(params),
                new QueryWrapper<AlarmCallRelEntity>()
        );

        return new PageUtils(page);
    }

}